2 Scenarios > 2.14 Security > 2.14.3 Changing password for phonelock ("PS")

2.14.3
This section comprises the subsections Description, Used AT Commands, Flow Chart, Hints and Example. To move to these subsections please use the Navigation Frame or the appropri­ate buttons on the toolbar.
2.14.3.1
This chapter describes the steps required to change the phonelock password and to unlock a disabled password. The command “AT+CPWD” can be used to change the phonelock pass­word. After entering a wrong phonelock password three times in succession the master phonecode will be required. “AT^SPIC” has various options, further information see above “General remark” Section 2.14.
2.14.3.2
For further details about the commands see [2].
2.14.3.3
Figure 123: Changing password for phonelock
Figure 124: Changing password for phonelock and retrieving PIN counter with AT^SPIC
2.14.3.4
•
2.14.3.5
Example 1:
 
***************************************
Comment: Changing password for phonelock
***************************************
***************************************
Comment: If "PS" has not been set before
Comment: new password =1234
***************************************
 
Subscr 1 Send: AT+CPWD="PS",,"1234"
Subscr 1 Receive: AT+CPWD="PS",,"1234"
Subscr 1 Receive: OK
 
***************************************
Comment: Replace existing "PS" password
Comment: old password=1234, new password =0000
***************************************
 
Subscr 1 Send: AT+CPWD="PS","1234","0000"
Subscr 1 Receive: AT+CPWD="PS","1234","0000"
Subscr 1 Receive: OK
 
***************************************
Comment: Attempt to replace existing "PS" password
***************************************
 
Subscr 1 Send: AT+CPWD="PS","1111","5555"
Subscr 1 Receive: AT+CPWD="PS","1111","5555"
Subscr 1 Receive: +CME ERROR: incorrect password
 
***************************************
Comment: Attempt to replace existing "PS" password
***************************************
 
Subscr 1 Send: AT+CPWD="PS","1111","5555"
Subscr 1 Receive: AT+CPWD="PS","1111","5555"
Subscr 1 Receive:
Subscr 1 Receive: +CME ERROR: incorrect password
 
***************************************
Comment: Attempt to replace existing "PS" password
***************************************
 
Subscr 1 Send: AT+CPWD="PS","1111","5555"
Subscr 1 Receive: AT+CPWD="PS","1111","5555"
Subscr 1 Receive: +CME ERROR: incorrect password
 
 
 
 
 
 
***************************************
Comment: Enter Master Phone Code to unlock. Result: ME is operational and PS lock is totally removed
***************************************
 
Subscr 1 Send: AT+CPWD="PS","70033255","0000"
Subscr 1 Receive: AT+CPWD="PS","70033255","0000"
Subscr 1 Receive:
Subscr 1 Receive: OK
 
***************************************
Comment: Erase the password
***************************************
 
Subscr 1 Send: AT+CPWD="PS","0000"
Subscr 1 Receive: AT+CPWD="PS","0000"
Subscr 1 Receive: OK
 
Example 2:
 
***************************************
Comment: Changing password for PS (password for “PS” lock)
To request the PIN counter example 2 uses the read command AT^SPIC? and the write command AT^SPIC=<facility>. Keep in mind that both command types are not supported by all products.
***************************************
***************************************
Comment: Changing Password for PS.
***************************************
 
Subscr 1 Send: AT+CPWD="PS","0000","1234"
Subscr 1 Receive: AT+CPWD="PS","0000","1234"
Subscr 1 Receive: OK
 
***************************************
Comment: Which PIN is required.
***************************************
 
Subscr 1 Send: AT^SPIC?
Subscr 1 Receive: AT^SPIC?
Subscr 1 Receive: ^SPIC: SIM PIN2
Subscr 1 Receive:
Subscr 1 Receive: OK
 
***************************************
Comment: Request PIN counter (SIM PIN2).
***************************************
 
Subscr 1 Send: AT^SPIC
Subscr 1 Receive: AT^SPIC
Subscr 1 Receive: ^SPIC: 3
Subscr 1 Receive:
Subscr 1 Receive: OK
 
***************************************
Comment: Request PIN counter for PS .
***************************************
 
Subscr 1 Send: AT^SPIC="PS"
Subscr 1 Receive: AT^SPIC="PS"
Subscr 1 Receive: ^SPIC: 3
Subscr 1 Receive:
Subscr 1 Receive: OK
***************************************
Comment: Entering wrong password for PS (first attempt).
***************************************
 
Subscr 1 Send: AT+CPWD="PS","1111","1334"
Subscr 1 Receive: AT+CPWD="PS","1111","1334"
Subscr 1 Receive: +CME ERROR: incorrect password
 
***************************************
Comment: Request PIN counter for PS.
***************************************
 
Subscr 1 Send: AT^SPIC="PS"
Subscr 1 Receive: AT^SPIC="PS"
Subscr 1 Receive: ^SPIC: 2
Subscr 1 Receive:
Subscr 1 Receive: OK
 
***************************************
Comment: Request PIN counter(SIM PIN2).
***************************************
 
Subscr 1 Send: AT^SPIC
Subscr 1 Receive: AT^SPIC
Subscr 1 Receive: ^SPIC: 3
Subscr 1 Receive:
Subscr 1 Receive: OK
 
***************************************
Comment: Entering wrong password for PS (second attempt)
***************************************
 
Subscr 1 Send: AT+CPWD="PS","3333","1255"
Subscr 1 Receive: AT+CPWD="PS","3333","1255"
Subscr 1 Receive: +CME ERROR: incorrect password
 
***************************************
Comment: Request PIN counter for PS.
***************************************
 
Subscr 1 Send: AT^SPIC="PS"
Subscr 1 Receive: AT^SPIC="PS"
Subscr 1 Receive: ^SPIC: 1
Subscr 1 Receive:
Subscr 1 Receive: OK
 
***************************************
Comment: Request PIN counter (SIM PIN2).
***************************************
 
Subscr 1 Send: AT^SPIC
Subscr 1 Receive: AT^SPIC
Subscr 1 Receive: ^SPIC: 3
Subscr 1 Receive:
Subscr 1 Receive: OK
***************************************
Comment: Entering wrong password for PS (third attempt).
***************************************
 
Subscr 1 Send: AT+CPWD="PS","4711","1331"
Subscr 1 Receive: AT+CPWD="PS","4711","1331"
Subscr 1 Receive: +CME ERROR: incorrect password
***************************************
Comment: Request PIN counter for PS.
***************************************
 
Subscr 1 Send: AT^SPIC="PS"
Subscr 1 Receive: AT^SPIC="PS"
Subscr 1 Receive: ^SPIC: 63
Subscr 1 Receive:
Subscr 1 Receive: OK
 
***************************************
Comment: Request PIN counter(SIM PIN2).
***************************************
 
Subscr 1 Send: AT^SPIC
Subscr 1 Receive: AT^SPIC
Subscr 1 Receive: ^SPIC: 3
Subscr 1 Receive:
Subscr 1 Receive: OK
 
***************************************
Comment: Enter master phonecode and set new PS.
***************************************
 
Subscr 1 Send: AT+CPWD="PS","39969009","0000"
Subscr 1 Receive: AT+CPWD="PS","39969009","0000"
Subscr 1 Receive: OK
 
***************************************
Comment: Request PIN counter for PS.
***************************************
 
Subscr 1 Send: AT^SPIC="PS"
Subscr 1 Receive: AT^SPIC="PS"
Subscr 1 Receive: ^SPIC: 3
Subscr 1 Receive:
Subscr 1 Receive: OK